#ifndef _SDLGMUD_H_    
	#define _SDLGMUD_H_ 

#include <SDL.h> 

#include "SDLSurface.h"
#include "GEvent.h"

class SDLGmud : public GEvent	//Link GEvent and SDLGmud togethor
{   
private:
	bool Running;

	//A SDL surface variable
	SDL_Surface* Surf_Display;

	//A surface for test
	SDL_Surface* Surf_Test;

public:         
	SDLGmud();
	~SDLGmud();
	int OnExecute(); 

public:
	bool OnInit();        
	void OnEvent(SDL_Event* Event);   //We're passing the Event structure to our class with GEvent 
	void OnExit();	//If we want to check for an event, we override the function.
	void OnLoop();      
	void OnRender();    
	void OnCleanup();
}; 
#endif 
